package com.cvic.se.entity;

import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * InnoDB free: 4096 kB
 * </p>
 *
 * @author zgx
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Institution implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("INST_ID")
    private String instId;//机构编号

    @TableField("INST_ROLE")
    private String instRole;//机构角色

    @TableField("INST_NAME")
    private String instName;//机构名称

    @TableField("INST_STATUS")
    private String instStatus;//机构状态

    @TableField("HOST_DEPT")
    private String hostDept;//主办部门

    @TableField("CODE")
    private String code;//统一社会信用代码

    @TableField("CODE_USEFUL")
    private String codeUseful;//代码证有效期

    @TableField("LEGAL_REP")
    private String legalRep;//法定代表人

    @TableField("VISIT_COUNT")
    private Integer visitCount;//拜访次数

    @TableField("COM_COUNT")
    private Integer comCount;//来访次数

    @TableField(fill=FieldFill.INSERT)
    private LocalDate createDate;//创建日期

    @TableField("REG_ADDR")
    private String regAddr;//注册地址

    @TableField("BUSS_ADDR")
    private String bussAddr;//营业地址

	public String getInstId() {
		return instId;
	}

	public void setInstId(String instId) {
		this.instId = instId;
	}

	public String getInstRole() {
		return instRole;
	}

	public void setInstRole(String instRole) {
		this.instRole = instRole;
	}

	public String getInstName() {
		return instName;
	}

	public void setInstName(String instName) {
		this.instName = instName;
	}

	public String getInstStatus() {
		return instStatus;
	}

	public void setInstStatus(String instStatus) {
		this.instStatus = instStatus;
	}

	public String getHostDept() {
		return hostDept;
	}

	public void setHostDept(String hostDept) {
		this.hostDept = hostDept;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodeUseful() {
		return codeUseful;
	}

	public void setCodeUseful(String codeUseful) {
		this.codeUseful = codeUseful;
	}

	public String getLegalRep() {
		return legalRep;
	}

	public void setLegalRep(String legalRep) {
		this.legalRep = legalRep;
	}

	public Integer getVisitCount() {
		return visitCount;
	}

	public void setVisitCount(Integer visitCount) {
		this.visitCount = visitCount;
	}

	public Integer getComCount() {
		return comCount;
	}

	public void setComCount(Integer comCount) {
		this.comCount = comCount;
	}

	public LocalDate getCreateDate() {
		return createDate;
	}

	public void setCreateDate(LocalDate createDate) {
		this.createDate = createDate;
	}

	public String getRegAddr() {
		return regAddr;
	}

	public void setRegAddr(String regAddr) {
		this.regAddr = regAddr;
	}

	public String getBussAddr() {
		return bussAddr;
	}

	public void setBussAddr(String bussAddr) {
		this.bussAddr = bussAddr;
	}


}
